package com.develop.skwen.electricgomall.category.list.holder;

import android.support.annotation.NonNull;
import android.view.View;
import android.widget.TextView;

import com.develop.skwen.basemodule.list.BaseHolder;
import com.develop.skwen.electricgomall.R;
import com.develop.skwen.electricgomall.category.model.CategoryBean;

/**
 * Created by skwen on 2018/6/24.
 */

public class CategoryHolder extends BaseHolder<CategoryBean> {

    private TextView mItemName;

    public CategoryHolder(View itemView) {
        super(itemView);
        mItemName = findViewById(R.id.item_name);
    }

    @Override
    public void bind(@NonNull CategoryBean item) {

        mItemName.setText(item.getName());
    }
}
